<?php
/* @var $this BukutamuFiqihController */
/* @var $model BukutamuFiqih */


?>
<!-- search-form -->

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'bukutamu-fiqih-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'nama',
		'email',	
         array(
            'header' => 'Situs',
            'name' => 'alamat',
            'type' => 'html',
            'value' => '$data["alamat"]'
        ),
        
        /*  array(
            'header' => 'Isi Artikel',
            'name' => 'isi',
            'value' => 'u::break_words($data->idArtikel->isi,300,"") '
        ),*/
        	    
		array(
            'header' => 'Jawaban',
            'name' => 'jawaban',
            'type' => 'html',
            'value' => '$data["jawaban"] == null ? "masih kosong" : "sudah ada"'
        ),
        	array(
            'header' => 'Status',
            'name' => 'status',
            'type' => 'html',
//            'value' => 'CHtml::encode($data["nama_halaman"])'
            'value' => '$data["status"] == 1 ? "aktif" : "non aktif"'
        ),
		/*
		'tgl_create',
		'status',
		'ip_guest',
		'id_kajian',
		*/
		array(
			'class'=>'CButtonColumn',
		),
	),
)); ?>
